<%@page contentType="text/html" pageEncoding="UTF-8"%> 
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"    
"http://www.w3.org/TR/html4/loose.dtd">   

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>USO ACADEMICO</title>
<style type="text/css">
<!--
body {
	background-color: #FFFF99;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
}
.Estilo1 {
	color: #FFFFFF;
	font-weight: bold;
}
.Estilo2 {color: #FFFFFF}
-->
</style></head>

<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center" bgcolor="#FF0000">
    <td colspan="2"><h2><span class="Estilo1">Inicio de Sesion</span></h2></td>
  </tr>
  <tr>
    <td width="175"><img src="img/carritorx8[1].jpg" width="149" height="134" /></td>
    <td width="625">
        <spring:nestedPath path="beanUsuario"> 
    <form name="frmPrincipal" method="post" action="ServletInicioSesion">
    <table width="620" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="131">Usuario</td>
        <spring:bind path="usuario"> 
        <td width="489"><input type="text" name="${status.expression}" value="${status.value}">  </td>
        </spring:bind>
      </tr>
      <tr>
        <td>Clave</td>
        <spring:bind path="clave">  
        <td><input type="text" name="${status.expression}" value="${status.value}">  </td>
        </spring:bind>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><input type="submit" name="btnEntrar" id="btnEntrar" value="Entrar" /></td>
      </tr>
       <h1>${mensajeLogin}</h1>  
    </table>
    </form>
    
    </td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#FF0000"><div align="center"><strong><span class="Estilo2">Programación de Aplicaciones Web - USO ACADEMICO</span></strong></div></td>
  </tr>
</table>
</body>
</html>
<html>     
    <head>         
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         
        <title>JSP Page</title>     
    </head>     
    <body>         
        <spring:nestedPath path="beanUsuario">             
            <form action="" method="post">
                Name:                
                <spring:bind path="usuario">                     
                    <input type="text" name="${status.expression}" value="${status.value}">                
                </spring:bind>                   
                <spring:bind path="clave">                    
                    <input type="text" name="${status.expression}" value="${status.value}">                
                </spring:bind>                   
                    <input type="submit" value="OK">             
            </form>       
        </spring:nestedPath>     
    </body>
</html>   

<head>         
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         
    <title>Hello</title>     
</head>    
<body>         
    <h1>${mensajeLogin}</h1>    
</body> 
</html>





